let dan = document.getElementById("dan");
let zhong1 = document.getElementById("zhong1");
let zhong2 = document.getElementById("zhong2");
let zhong3 = document.getElementById("zhong3");
let qiehuan = document.getElementById("qiehuan");
let liebiao = document.getElementById("liebiao");
let footerleft = document.getElementById("footerleft");
let changpian = document.getElementById("changpian");
let bobiao = document.getElementById("bobiao");
let bofangliebiao = document.getElementById("bofangliebiao");
let wunai = document.getElementById("wunai");
dan.onclick = function () {
  zhong1.style.display = "none";
  zhong2.style.display = "block";
  zhong3.style.display = "none";
};
qiehuan.onclick = () => {
  zhong1.style.display = "block";
  zhong2.style.display = "none";
};
liebiao.onclick = () => {
  zhong3.style.display = "block";
  zhong1.style.display = "none";
  zhong2.style.display = "none";
};
footerleft.onclick = () => {
  zhong3.style.display = "block";
  zhong2.style.display = "none";
  zhong1.style.display = "none";
};
changpian.onclick = () => {
  zhong3.style.display = "none";
  zhong2.style.display = "block";
  zhong1.style.display = "none";
};
bobiao.onclick = () => {
  if ((bofangliebiao.style.display = "none")) {
    bofangliebiao.style.display = "block";
    console.log(333333333333);
  } /*else {
    console.log(111111111111);
    bofangliebiao.style.display = "none";
  }*/
};
wunai.onclick = () => {
  bofangliebiao.style.display = "none";
};
